package com.repository;

import com.entity.Cron;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface CronRepository extends JpaRepository<Cron,Integer> {
        @Query(value = "select cron from sys_cron limit 1",nativeQuery = true)
        public String getCron();
    }
